80,250,430,134,35,60,233,90,263,225,120,59,151,677,340,221,550,300,229,97,230,123,133,87 There are 24 numbers, one can't be less. You can modify the function to judge
Copy the Code code as follows:
/*24-Hour Bar chartAuthor:
Php converts a 12-hour to a 24-hour php. Php converts a 12-hour system to a 24-hour system. This document describes how php converts a 12-hour system to a 24-hour system. Share it with you for your reference. Php converts a 12-hour format to a
80,250,430,134,35,60,233,90,263,225,120,59,151,677,340,221,550,300,229,97,230,123,133,87 a total of 24 numbers, no less. You can modify the function to judge
Copy Code code as follows:
? Php
/*
24-Hour Bar chart
Author: Taokey
qq:2961
PhpGD draws a 24-hour column chart. 80,250,430,134, 263,225,120, 59,151,677,340,221,550,300,229, 97,230,123,133, 80,250,430,134, 87 a total of 24 numbers can be less than one. if you want to make a mistake, you can modify the function to judge the
/*
24-Hour Bar chart
Author: Taokey
qq:29611705
* Editor: Bbs.it-home.org
*/
function H24 ($STR) {
$hour = Explode (",", $str);
$hmax = max ($hour);
$ppix = 150/$hmax;
Calculate the height of a bar
80,250,430,134, 263,225,120, 59,151,677,340,221,550,300,229, 97,230,123,133, 87, a total of 24 numbers can be less than one. If there is no error, you can modify the function to determine
CopyCode The Code is as follows: /*
24-hour column
PHP converts a 12-hour system into a 24-hour method
This example describes how PHP converts a 12-hour system into a 24-hour system. Share to everyone for your reference. Specific as follows:
PHP converts the 12-hour system to a 24-hour system, with
PHP converts a 12-hour system into a 24-hour method, PHP24 hours
This example describes how PHP converts a 12-hour system into a 24-hour system. Share to everyone for your reference. Specific as follows:
PHP converts the 12-hour system to a 24-hour
This article mainly introduces how php converts a 12-hour system to a 24-hour system. it involves related skills related to php time operations and is of great practical value, for more information about how php converts a 12-hour system to a
The phpDate () function outputs the Chinese year, month, day, hour, minute, and second ,. The phpDate () function outputs the Chinese year, month, day, hour, minute, and second. of course, the php date function cannot directly output the Chinese
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.